SftTree/NET 2.0

FirstDisplayedAndVisibleIndex Property, ColumnsClass Class

Softel vdm, Inc.

Returns the index of the first displayed column.

Syntax      ColumnsClass Class (Softelvdm.SftTreeNET)

VB   

Public ReadOnly Property FirstDisplayedAndVisibleIndex As Integer

C#   

public int FirstDisplayedAndVisibleIndex { get; }

C++   

public: property int FirstDisplayedAndVisibleIndex {
        int get();
}

Property Value

The index of the first displayed column or null/Nothing if the column collection is empty.

Comments

The FirstDisplayedAndVisibleIndex property returns the index of the first displayed column.

The FirstDisplayedAndVisibleIndex property returns the index of the first displayed column. This is not necessarily the first column in the column collection. The FirstIndex property returns the index of the first column in the column collection.

The FirstDisplayedIndex property returns the index of the first column in the display order, even if that column has a width of 0. The FirstDisplayedAndVisibleIndex property insures that the column also has a width greater than 0.

A column is considered displayed or visible even if it is horizontally scrolled off the control's display area. A column can be scrolled into the display area of the control by using the ColumnClass.ScrollIntoView method.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com